﻿namespace Vdc.Interface
{
    using System;
    using System.ComponentModel;
    using System.Text;

    public class VdcCheckBoxCssSettings : VdcPersistentObject
    {
        internal virtual string SerializeToJSON()
        {
            StringBuilder builder = new StringBuilder();
            builder.Append("{");
            builder.Append("'UN': '" + this.Container_UncheckedNormal + "',");
            builder.Append("'UO': '" + this.Container_UncheckedOver + "',");
            builder.Append("'UF': '" + this.Container_UncheckedFocused + "',");
            builder.Append("'UD': '" + this.Container_UncheckedDisabled + "',");
            builder.Append("'CN': '" + this.Container_CheckedNormal + "',");
            builder.Append("'CO': '" + this.Container_CheckedOver + "',");
            builder.Append("'CF': '" + this.Container_CheckedFocused + "',");
            builder.Append("'CD': '" + this.Container_CheckedDisabled + "',");
            builder.Append("'PN': '" + this.Container_PartiallyChecked + "',");
            builder.Append("'PO': '" + this.Container_PartiallyCheckedOver + "',");
            builder.Append("'PF': '" + this.Container_PartiallyCheckedFocused + "',");
            builder.Append("'PD': '" + this.Container_PartiallyCheckedDisabled + "'");
            builder.Append("}");
            return builder.ToString();
        }

        [Category("CSS Settings"), Bindable(true), Description("CSS Class for the Container - Checked Disabled State"), DefaultValue("ob_iCCCD")]
        public string Container_CheckedDisabled
        {
            get
            {
                object obj2 = this.ViewState["Container_CheckedDisabled"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCCD";
            }
            set
            {
                this.ViewState["Container_CheckedDisabled"] = value;
            }
        }

        [Description("CSS Class for the Container - Checked Focused State"), DefaultValue("ob_iCCCF"), Bindable(true), Category("CSS Settings")]
        public string Container_CheckedFocused
        {
            get
            {
                object obj2 = this.ViewState["Container_CheckedFocused"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCCF";
            }
            set
            {
                this.ViewState["Container_CheckedFocused"] = value;
            }
        }

        [Description("CSS Class for the Container - Checked Normal State"), Bindable(true), Category("CSS Settings"), DefaultValue("ob_iCCCN")]
        public string Container_CheckedNormal
        {
            get
            {
                object obj2 = this.ViewState["Container_CheckedNormal"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCCN";
            }
            set
            {
                this.ViewState["Container_CheckedNormal"] = value;
            }
        }

        [Description("CSS Class for the Container - Checked Over State"), DefaultValue("ob_iCCCO"), Bindable(true), Category("CSS Settings")]
        public string Container_CheckedOver
        {
            get
            {
                object obj2 = this.ViewState["Container_CheckedOver"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCCO";
            }
            set
            {
                this.ViewState["Container_CheckedOver"] = value;
            }
        }

        [Description("CSS Class for the Container - Partially Checked Normal State"), DefaultValue("ob_iCCPCN"), Category("CSS Settings"), Bindable(true)]
        public string Container_PartiallyChecked
        {
            get
            {
                object obj2 = this.ViewState["Container_PartiallyChecked"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCPCN";
            }
            set
            {
                this.ViewState["Container_PartiallyChecked"] = value;
            }
        }

        [Bindable(true), Category("CSS Settings"), DefaultValue("ob_iCCPCD"), Description("CSS Class for the Container - Partially Checked Disabled State")]
        public string Container_PartiallyCheckedDisabled
        {
            get
            {
                object obj2 = this.ViewState["Container_PartiallyCheckedDisabled"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCPCD";
            }
            set
            {
                this.ViewState["Container_PartiallyCheckedDisabled"] = value;
            }
        }

        [Category("CSS Settings"), DefaultValue("ob_iCCPCF"), Bindable(true), Description("CSS Class for the Container - Partially Checked Focused State")]
        public string Container_PartiallyCheckedFocused
        {
            get
            {
                object obj2 = this.ViewState["Container_PartiallyCheckedFocused"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCPCF";
            }
            set
            {
                this.ViewState["Container_PartiallyCheckedFocused"] = value;
            }
        }

        [Description("CSS Class for the Container - Partially Checked Over State"), Bindable(true), Category("CSS Settings"), DefaultValue("ob_iCCPCO")]
        public string Container_PartiallyCheckedOver
        {
            get
            {
                object obj2 = this.ViewState["Container_PartiallyCheckedOver"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCPCO";
            }
            set
            {
                this.ViewState["Container_PartiallyCheckedOver"] = value;
            }
        }

        [Bindable(true), Category("CSS Settings"), DefaultValue("ob_iCCUD"), Description("CSS Class for the Container - Unchecked Disabled State")]
        public string Container_UncheckedDisabled
        {
            get
            {
                object obj2 = this.ViewState["Container_UncheckedDisabled"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCUD";
            }
            set
            {
                this.ViewState["Container_UncheckedDisabled"] = value;
            }
        }

        [Bindable(true), Description("CSS Class for the Container - Unchecked Focused State"), Category("CSS Settings"), DefaultValue("ob_iCCUF")]
        public string Container_UncheckedFocused
        {
            get
            {
                object obj2 = this.ViewState["Container_UncheckedFocused"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCUF";
            }
            set
            {
                this.ViewState["Container_UncheckedFocused"] = value;
            }
        }

        [Description("CSS Class for the Container - Unchecked Normal State"), Bindable(true), Category("CSS Settings"), DefaultValue("ob_iCCUN")]
        public string Container_UncheckedNormal
        {
            get
            {
                object obj2 = this.ViewState["Container_UncheckedNormal"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCUN";
            }
            set
            {
                this.ViewState["Container_UncheckedNormal"] = value;
            }
        }

        [Category("CSS Settings"), Description("CSS Class for the Container - Unchecked Over State"), DefaultValue("ob_iCCUO"), Bindable(true)]
        public string Container_UncheckedOver
        {
            get
            {
                object obj2 = this.ViewState["Container_UncheckedOver"];
                if (obj2 != null)
                {
                    return obj2.ToString();
                }
                return "ob_iCCUO";
            }
            set
            {
                this.ViewState["Container_UncheckedOver"] = value;
            }
        }
    }
}

